from tqdm import tqdm
with open("logs/db-info.2024-12-30_16-56-37_744863.log") as f:
    lines = f.readlines()


def get_logs_by_dialog_id(dialog_id):
    id = 0
    for line in lines:
        id += 1
        if dialog_id in line:
            print(id, ":",line)

dialog_id="53e8b7f7574241259600d8efabc3d105"
get_logs_by_dialog_id(dialog_id)